from django.db import models

# Create your models here.
class User(models.Model):
    id = models.AutoField(primary_key=True)
    uname=models.CharField(max_length=20,null=False)
    upwd=models.CharField(max_length=20,null=False)
class Book(models.Model):
    id = models.AutoField(primary_key=True)
    title=models.CharField(max_length=20,null=False)
    createTime=models.DateField(null=False)
    author=models.CharField(max_length=200,null=False)
